package com.longcai.cm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户优惠券
 * </p>
 *
 * @author LBX
 * @since 2024-08-02
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ja_member_coupons")
@ApiModel(value = "JaMemberCoupons对象", description = "用户优惠券")
public class JaMemberCoupons implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("用户id")
    @TableField("member_id")
    private Integer memberId;

    @ApiModelProperty("优惠券id")
    @TableField("coupons_id")
    private String couponsId;

    @ApiModelProperty("领取时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("到期时间")
    @TableField("expire_time")
    private String expireTime;

    @ApiModelProperty("状态(0-未使用 1-已使用 2-已失效)")
    @TableField("status")
    private Integer status;


}
